import service from '@/utils/request'

// 登录接口
export const loginApi = data => service({
  method: 'POST',
  url: '/admin/index/login',
  data
})

// 获取用户资料
export const getUserDetail = () => service({
  method: 'POST',
  url: '/admin/index/userinfo'
})
